home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr13 / tread2_3.zip / TAGREAD1.BAT < prev    next >
DOS Batch File  |  1995-01-11  |  985b  |  25 lines

  1. .key msg/a,user/a,anum/a,mnum/a,aname/a,port/a
  2. .bra [
  3. .ket ]
  4. ;1
  5. ;Export    - Save this message as text to download
  6. ;
  7. ; This batch file uses DLGUpload (by Michael Dreher) and Msg2Txt to export
  8. ; the current message to a text file. The user may export as many messages
  9. ; as he wants, these are appended to the file.
  10. ;
  11. ; DLGUpload is needed to initially upload a header file if one doesn't
  12. ; already exist, so that there will be a downloadable text file in the
  13. ; user's private download area to append messages to.
  14. ;
  15. if NOT EXISTS user:[user]/Tagged.txt
  16.   echo "*nCreating a new message file in your private download area..."
  17.   doors:LGUpload -f DLGConfig:text/Tagged.txt -a [user] -d "Tagged Messages" -u TurboRead FREE
  18.   echo "*nMessage file created. You may export as many messages as you wish,"
  19.   echo "they will be appended to the file Tagged.txt in your private"
  20.   echo "download area...*n"
  21. endif
  22.  
  23. doors:msg2txt [msg] user:[user]/Tagged.txt -C "[aname]"
  24. echo "*nMessage exported*n"
  25.